package org.example;

import cn.hutool.poi.excel.ExcelUtil;
import cn.hutool.poi.excel.ExcelWriter;
import com.alibaba.fastjson2.JSON;

import java.util.List;

public class Test {
    public static void main(String[] args) {
        ExcelWriter writer = ExcelUtil.getWriter("/Users/qinqiang/1234.xlsx");
        List<String> sheetNames = writer.getSheetNames();
        System.out.println(JSON.toJSONString(sheetNames));

    }
}
